<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>首页</h1>
    <a th:href="@{/testRequestMapping}">测试RequestMapping注解的位置</a>
    <a th:href="@{/test}">测试RequestMapping注解的位置</a>
    <form th:action="@{/test}" method="post">
        <input type="post请求" value="test">
    </form>
    <a th:href="@{/testGetMapping}">testGetMapping</a>
    <form th:action="@{/testPut}" method="put">
        <input type="submit" value="测试form表单能否发送put请求">
    </form>
    <a th:href="@{/testParamsAndHeaders(username='admin',password=123)}">测试testParamsAndHeaders</a>
    <a th:href="@{/a1a/testAnt}">Ant风格路径</a>
    <a th:href="@{/testPath/1}">路径中的占位符</a>
</body>
</html>